import tui from '@/request/index'

export let getGoodsLisLeft = () => {
	return tui.request(`/goods/list`)
}

export let selectAddress = () => {
	return tui.request(`/selectAddress`, [], 'post')
}

export let updateAddress = (data) => {
	return tui.request(`/updateAddress`, data, 'post')
}

export let addAddress = (data) => {
	return tui.request(`/addAddress`, data, 'post')
}
